package com.wenlin.myproduction.util;


import com.wenlin.myproduction.R;

/**
 * @author 文琳
 * @time 2020/3/20 20:46
 * @desc 存放所有的常量名称
 */
public class ValCommon {

    //自定义控件
    public static final String BANNER_VIEW = "书本选择器";
    public static final String CHART_VIEW = "七日时长曲线图";
    public static final String HISTOGRAM_VIEW = "柱形图";
    public static final String GOLD_VIEW = "金币数字";
    public static final String INFO_ANIM_VIEW = "圆形头像";
    public static final String LOGO_ANIM_VIEW = "画Logo";
    public static final String MARQUEE_VIEW = "跑马灯";
    public static final String NUMBER_VIEW = "计分板";
    public static final String PIC_PROGRESS_VIEW = "图片形式的进度指示器";
    public static final String LINE_PROGRESS_BAR = "条状进度条";
    public static final String ROUND_CIRCLE_GRADIENT_PROGRESS = "环状进度条";
    public static final String ROUND_BANNER = "圆角矩形轮播图";
    public static final String PIC_VIDEO_BANNER = "图片视频选择器";
    public static final String TIME_VIEW = "时间控件";
    public static final String TIME_PERCENT = "时间百分比";
    public static final String SCHEDULE_MANAGE = "排班管理";
    public static final String CIRCLE_LIGHT = "光圈";
    public static final String LABELS_VIEW = "标签组";
    public static final String MOSAIC_VIEW = "马赛克图片";

    //游戏
    public static final String LOTTERY_CIRCLE_VIEW = "圆盘抽奖";
    public static final String BOOM_VIEW = "炸飞机控件";
    public static final String SHU_DU_VIEW = "数独游戏";
    public static final String FLIP_CARD_GAME = "翻牌游戏";
    public static final String GUESS_NUMBER_GAME = "猜数游戏";
    public static final String GET_24_POINTS_GAME = "算24点游戏";

    //其他项目
    public static final String FRONT_AND_BACK_VIEW = "卡片翻转";
    public static final String E_SPORTS_MANAGER_CALCULATOR = "电竞经理计算器";
    public static final String PK_LAYOUT = "直播PK送礼物进度条";
    public static final String PLAYER_MATCH = "球员匹配";
    public static final String GUESS_NUMBER_MAGIC = "猜数魔术";
    public static final String IN_OUT_RECORDS = "借还记录";




    public static final String NEW_PLAN_EN = "NEW_PLAN_EN";

    //我的世界的几种星球，这里因为UI类似，所以将农场也看成一个星球了
    public static final int MY_WORLD_STAR_TYPE_FARM = 0;
    public static final int MY_WORLD_STAR_TYPE_LETTERS = 1;
    public static final int MY_WORLD_STAR_TYPE_ADVENTURE = 2;
    public static final int MY_WORLD_STAR_TYPE_SPELL = 3;
    public static final int MY_WORLD_STAR_TYPE_GAME = 4;

    //奖品类型
    public static final int GIFT_TYPE_VIRTUAL = 0;//虚拟礼品
    public static final int GIFT_TYPE_REAL = 1;//实体礼品

    //20210115 新增活动广告相关参数 以下
    public static final int ACTIVITY_TYPE_16_CODE_SELL = 0x01;//销售活动
    public static final int ACTIVITY_TYPE_16_CODE_OPERATION = 0x02;//运营活动
    public static final int ACTIVITY_TYPE_16_CODE_GOLD = 0x04;//金币活动
    public static final int ACTIVITY_JOIN_TYPE_16_CODE_COUPON = 0x01;//兑换券抽奖
    public static final int ACTIVITY_JOIN_TYPE_16_CODE_PURPLE_DIAMOND = 0x02;//钻石兑奖
    public static final int ACTIVITY_JOIN_TYPE_16_CODE_TASK = 0x04;//任务兑奖
    public static final int ACTIVITY_CASH_TYPE_16_CODE_RANDOM_DRAW = 0x01;//抽奖
    public static final int ACTIVITY_CASH_TYPE_16_CODE_SPECIFY = 0x02;//指定奖品兑换
    public static final int ACTIVITY_CASH_TYPE_16_CODE_BLIND_BOX = 0x04;//盲盒抽奖
    public static final int ACTIVITY_DISPLAY_TYPE_16_CODE_DIALOG = 0x01;//弹窗
    public static final int ACTIVITY_DISPLAY_TYPE_16_CODE_BANNER = 0x02;//轮播图
    public static final int ACTIVITY_POSITION_TYPE_16_CODE_HOME = 0x01;//学习中心
    public static final int ACTIVITY_POSITION_TYPE_16_CODE_MINECRAFT = 0x02;//我的世界
    public static final int ACTIVITY_POSITION_TYPE_16_CODE_ME = 0x04;//个人中心
    public static final int ACTIVITY_TASK_TYPE_16_CODE_TODAY_READING = 0x01;
    public static final int ACTIVITY_TASK_TYPE_16_CODE_PUNCH = 0x02;
    public static final int ACTIVITY_TASK_TYPE_16_CODE_HEADLINE = 0x04;
    public static final int ACTIVITY_TASK_TYPE_16_CODE_CINEMA = 0x08;
    public static final int ACTIVITY_TASK_TYPE_16_CODE_PET = 0x10;
    public static final int ACTIVITY_TASK_TYPE_16_CODE_OTHERS = 0x20;
    //20210115 新增活动广告相关参数 以上
    public static final int LOCATION_TYPE_TOP = 1;
    public static final int LOCATION_TYPE_UNDER_TOP_ABOVE_BOTTOM = 0;
    public static final int LOCATION_TYPE_BOTTOM = -1;
    public static final int ENVIRONMENT_WWW = 1;
    public static final int ENVIRONMENT_TEST = 0;
    public static final float HOME_FRAGMENT_BOOK_WIDTH = UI.getPx(R.dimen.wpx711);
    public static final float HOME_FRAGMENT_BOOK_HEIGHT = UI.getPx(R.dimen.wpx860);
    public static final float HOME_FRAGMENT_TEACHER_WIDTH = UI.getPx(R.dimen.wpx140);
    public static final float HOME_FRAGMENT_TEACHER_HEIGHT = UI.getPx(R.dimen.wpx140);
    public static final int QR_CODE_TYPE_ACTIVE = 0;//激活
    public static final int QR_CODE_TYPE_BUY = 1;//升级账号购买
    public static final int QR_CODE_TYPE_AD_BUY = 2;//广告活动购买
    public static final int QR_CODE_TYPE_RENEW = 3;//续费
    public static final String QR_CODE_NAME_ACTIVE = "qr_code.jpg";
    public static final String QR_CODE_NAME_BUY = "buy_qr_code.jpg";
    public static final String QR_CODE_NAME_AD_BUY = "ad_buy_qr_code.jpg";
    public static final String QR_CODE_NAME_RENEW = "renew_qr_code.jpg";
    public static final int RETRY_TIMES = 3;
    public static final int FEED_RECYCLE_TYPE_WAIT = 0;
    public static final int FEED_RECYCLE_TYPE_SUCCESS = 1;
    public static final int FEED_RECYCLE_TYPE_FAILURE = -1;
    public static final int FEED_RECYCLE_TYPE_ALL = -2;
    public static final int CAMERA_TAKE_PHOTO_QUALITY_MIN = 60;//打开拍照和头像拍照的保真度最低是60，跟日期挂钩，隔一天之后的保真度从100开始，每次减20。
    public static final boolean AUTO_ANSWER = true;//是否开启自动答题
    public static final int PK_RESULT_TYPE_VICTORY = 1;//PK结果类型——胜利
    public static final int PK_RESULT_TYPE_DRAW = 0;//PK结果类型——平局
    public static final int PK_RESULT_TYPE_LOST = -1;//PK结果类型——失败
    public static final String GIRL = "GIRL";//性别——女孩
    public static final String BOY = "BOY";//性别——男孩
    //用于计算机器人最小答题时间的四个参数
    public static final int ANSWER_LENGTH_TIME_UNIT = 3;//答案长度读题用时计算因子。权重范围1-10
    public static final int ANSWER_LENGTH_TIME_BASE = 50;//答案长度读题基础用时。
    public static final int ANSWER_WORDS_TIME_UNIT = 5;//答案重音数对于用时的计算因子。权重1-10
    public static final int ANSWER_WORDS_TIME_BASE = 100;//答案重音读题基础用时
    public static final int ROBOT_BINGO_PERCENT = 85;//机器人答对的概率。10题答对8-9题比较合理。值越大，用户获胜难度越大。权重大。
    public static final int USER_RECORD_SCORE_HIGH_POINT = 90;//用户录音评分的高分临界点。如果用户录音评分高过这个值，则让用户赢，否则让机器人有概率赢。值越高，用户获胜难度越大。权重大。
    public static final int USER_RECORD_SCORE_LOW_POINT = 20;//用户录音评分的低分临界点。如果用户录音评分低过这个值，则让机器人赢。值越高，用户获胜难度越大。权重大。
    public static final int ROBOT_RECORD_HIGHER_PERCENT = 75;//当用户录音评分不高的前提下，机器人录音分数更高的概率。值越大，用户获胜难度越大。当用户分数高过高分临界点时没有影响。
    public static final int ROBOT_TIME_USE_MORE_PERCENT = 10;//机器人答题用时更多的概率。值越小，用户获胜难度越大。权重小。
    public static final int ROBOT_NO_CHOOSE_ANSWER_PERCENT = 2;//机器人没有选择答案的概率。值越小，用户获胜难度越大。权重极小。
    public static final int ROBOT_NO_RECORD_PERCENT = 2;//机器人没有录音的概率。值越小，用户获胜难度越大。权重极小。
    public static final String RECORD_TIP_READY_TO_RECORD = "准备开始录音";
    public static final String RECORD_TIP_RECORDING = "录音中";
    public static final String RECORD_TIP_SCORING = "评分中";
    public static final String RECORD_TIP_SCORE_COMPLETE = "评分完毕";
    public static final int QUESTION_TEMPLE_TYPE_LONG_CONTENT = 1008;//短文题的问题类型编号
    public static final int QUESTION_TEMPLE_TYPE_CHOOSE_PIC = 1;//图片题的问题类型编号
    public static final int QUESTION_ANSWER_TYPE_CHOOSE_TEXT = 0;//文字作为答案选项的类型编号
    public static final int QUESTION_ANSWER_TYPE_CHOOSE_PIC = 1;//图片作为答案选项的类型编号
    public static final String IMAGE_URL = "IMAGE_URL";
    public static final String[] STUDY_REPORT_TITLES = {"今日阅读", "书目", "英语农场", "磨耳朵"};
    public static final String[] FEED_RECYCLE_TITLES = {"全部", "待回收", "已回收", "已退回"};
    public static final int STUDY_REPORT_TYPE_TOTAL = 0;//学习报告类型——总报告
    public static final int STUDY_REPORT_TYPE_TODAY_READ = 1;//学习报告类型——今日阅读
    public static final int STUDY_REPORT_TYPE_BOOK_READ = 2;//学习报告类型——书目阅读
    public static final int STUDY_REPORT_TYPE_ENGLISH_FARM = 3;//学习报告类型——英语农场
    public static final int STUDY_REPORT_TYPE_EAR = 5;//学习报告类型——磨耳朵
    public static final int[] FARM_FRUIT_BIG_PIC_RES_ID = {R.mipmap.farm_icon_apple, R.mipmap.farm_icon_watermelon, R.mipmap.farm_icon_banana, R.mipmap.farm_icon_mango, R.mipmap.farm_icon_dragon_fruit, R.mipmap.farm_icon_peach};
    public static final int[] SUPER_REWARD_PIC_RES_ID = {R.mipmap.me_bg_super_reward1, R.mipmap.me_bg_super_reward2};
    public static final int[] SUPER_REWARD_BIT_PIC_RES_ID = {R.mipmap.me_bg_big_reward1, R.mipmap.me_bg_big_reward2};
    public static final String WORD = "词";
    public static final String SENTENCE = "句";
    public static final int FARM_PLANT_NEED_WAIT_MIN_TO_BIG = 1;//1分钟之后就可以成熟了
    public static final int FARM_PLANT_NEED_WAIT_SEC_TO_GROWING = 30;//30秒之后就可以从发芽状态变换到成长中的状态了
    public static final int FARM_PLANT_NEED_WAIT_MIN_TO_CUT = 2 * 60 + FARM_PLANT_NEED_WAIT_MIN_TO_BIG;//成熟后再过两小时保护之后就可以收割了
    public static final String ITEM_GIF = ".gif";
    public static final int PLANT_NUM = 4;
    public static final String DATA = "DATA";
    public static final String NUMBER = "NUMBER";
    public static final String BOOLEAN = "BOOLEAN";
    public static final String TYPE = "TYPE";
    public static final int MIN_PLANT_CONTENT_LENGTH_TO_GET_MORE_COIN = 21;
    public static final int FULL_CAR_WITH_PLANTS = 10;
    public static final int PAGE_SIZE = 20;//每页加载的数据数
    public static final int MAX_GET_PLANTS_FROM_OTHERS = 3;
    public static final int PLANT_TYPE_ADD = 0;
    public static final int PLANT_TYPE_SMALL = 1;
    public static final int PLANT_TYPE_PROTECTED = 2;
    public static final int PLANT_TYPE_BIG = 3;
    public static final int GET_GIFT_TYPE_JUST_NOTICE = 0;//只是通知
    public static final int GET_GIFT_TYPE_COUPON = 1;//兑换券抽奖
    public static final int GET_GIFT_TYPE_PURPLE_DIAMOND = 2;//钻石兑换
    public final static int TYPE_60_DAYS = 0;//没用到也不删，作为参照用
    public final static int TYPE_90_DAYS = 1;

    public static final int ME_TEAMMATE_TYPE_NORMAL = 0;
    public static final int ME_TEAMMATE_TYPE_FINISH = 1;
    public static final int ME_TEAMMATE_TYPE_NOBODY = 2;
    public static final int ME_TEAMMATE_TYPE_BECOME_OFFICIAL = 3;
    //1绑定手机号 2设置账号 3忘记密码 4验证账号（家长端） 5更换手机号（家长端） 6更换手机号 7转正 8调级
    public static final int GET_CODE_TYPE_BIND_PHONE = 1;//没用到也不删，作为参照用
    public static final int GET_CODE_TYPE_SET_ACCOUNT = 2;//没用到也不删，作为参照用
    public static final int GET_CODE_TYPE_FORGET_PASSWORD = 3;//没用到也不删，作为参照用
    public static final int GET_CODE_TYPE_VERIFY_PARENT_ACCOUNT = 4;//没用到也不删，作为参照用
    public static final int GET_CODE_TYPE_UPDATE_PHONE = 6;
    public static final int GET_CODE_TYPE_UPDATE_LEVEL = 8;
    public static final int GET_CODE_TYPE_GET_REWARD = 9;//获取奖品
    public static final int REQUEST_CODE_PUNCH = 1000;
    public static final int REQUEST_CODE_PUNCH_WITH_GOLD = 1001;
    public static final int REQUEST_CODE_HEAD_AUTO = 1002;
    public static final int REQUEST_CODE_CHANGE_USER_HEAD = 1100;
    public static final int STATE_TASKS_NOT_COMPLETED = 1;
    public static final int STATE_TASKS_COMPLETED = 2;
    public static final int STATE_PHOTO_COMPLETED = 3;
    public static final int STATE_SHARE_COMPLETED = 4;
    public static final int STATE_GOLD_CHECK_COMPLETED = 5;
    public static final int ODD_TYPE_TODAY = 0;//没用到也不删，作为参照用
    public static final int ODD_TYPE_YESTERDAY = -1;
    //兑换的奖品是否已经兑换过了，比如15天和30天的礼品只能兑换一次
    public static final int REWARD_STATUS_NOT_GET_YET = 0;//从未兑换过
    public static final int REWARD_STATUS_GET_BY_PARENT = 1;//等待家长确认。没用到也不删，作为参照用
    public static final int REWARD_STATUS_GET_ALREADY = 2;//已经兑换过且家长确认收到了

    public static final String COMMA = ",";
    public static final String DEFAULT_PASSWORD = "000000";
    public static final String LOCKED = "locked";
    public static final long ET_DELAY_TO_SEARCH = 500;

    public static final String[] TYPE_TITLES = {"血糖", "血压", "心率", "血氧", "体温", "跌倒", "睡眠"};
    public static final String[] ROSTER_TYPES = {"白班", "夜班", "休息", "事假", "病假", "年假"};
    public static final String[] NO_WORK_ROSTER_TYPES = {"休息", "事假", "病假", "年假"};//不计算工作时长的班次类型
    public static final String THIS_DAY = "当日";
    public static final String NEXT_DAY = "次日";
    public static final String[] SCHEDULE_TIMES_NAMES = {"上一周", "本周", "下一周", "选择月份"};
    public static final int[] SCHEDULE_TIMES_VALUES = {2, 1, 3, 7};//1本周 2上一周 3下一周 4本月 5上一月 6下一月 7自定义
    public static final int ANIM_DURATION_OF_CIRCLE_LIGHT_VIEW = 2000;

    public static final String LEVEL_UP_VIDEO_PATH = "https://storage.googleapis.com/fomet_bucket/uplevel.mp4";
    public static final String BECOME_VIP_VIDEO_PATH = "https://storage.googleapis.com/fomet_bucket/vip.mp4";
}
